//
//  ViewController.swift
//  OMTCoreKitSwift
//
//  Created by yizhaorong on 12/07/2018.
//  Copyright (c) 2018 yizhaorong. All rights reserved.
//

import UIKit
import OMTCoreKitSwift

class ViewController: UIViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        print(self.classForCoder)
        
        let string = "http://www.baidu.com?n=伊昭荣&json={abc:123, def:\"中文4️⃣لا يمكن الاستدلال\"}"
        var path = FileManager.cachePath
        path.append(contentsOf: "/dir")
        FileManager.mkdir(atPath: path)
        path.append(contentsOf: "/test.txt")
        FileManager.touchFile(atPath: path)
        print(FileManager.preferencesPath)
        // Do any additional setup after loading the view, typically from a nib.
    }

    @objc func omt_viewWillAppear(_ animated: Bool) {
        print("omt_viewWillAppear")
        omt_viewWillAppear(animated)
    }

}

